<div class="aePage">
  {% for p in range(1,pages+1) %}
  <span>
	{% if page!=p %}
	<a href="{{ url }}{{ p }}">{{ p }}</a>
	{% else %}
	{{ p }}
	{% end %}
  </span> / 
  {% end %}
</div>

